.class public Lcom/example/m6shop/IndexActivity;
.super Lcom/example/m6shop/BaseActivity;
.source "IndexActivity.java"


# static fields
.field public static index:Lcom/example/m6shop/IndexActivity;

.field public static localVersion:I


# instance fields
.field private mUpdateManager:Lmyclass/updateManager;

.field private open:Ljava/lang/String;

.field private shopid:Ljava/lang/String;

.field private shopname:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 39
    const/4 v0, 0x0

    sput v0, Lcom/example/m6shop/IndexActivity;->localVersion:I

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 33
    invoke-direct {p0}, Lcom/example/m6shop/BaseActivity;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/m6shop/IndexActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 35
    iput-object p1, p0, Lcom/example/m6shop/IndexActivity;->shopid:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$1(Lcom/example/m6shop/IndexActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 35
    iput-object p1, p0, Lcom/example/m6shop/IndexActivity;->shopname:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$2(Lcom/example/m6shop/IndexActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 35
    iget-object v0, p0, Lcom/example/m6shop/IndexActivity;->shopid:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$3(Lcom/example/m6shop/IndexActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 35
    iget-object v0, p0, Lcom/example/m6shop/IndexActivity;->shopname:Ljava/lang/String;

    return-object v0
.end method


# virtual methods
.method public gettjSource()Z
    .locals 1

    .prologue
    .line 311
    new-instance v0, Lcom/example/m6shop/IndexActivity$13;

    invoke-direct {v0, p0}, Lcom/example/m6shop/IndexActivity$13;-><init>(Lcom/example/m6shop/IndexActivity;)V

    .line 378
    invoke-virtual {v0}, Lcom/example/m6shop/IndexActivity$13;->start()V

    .line 379
    const/4 v0, 0x0

    return v0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 22
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 42
    invoke-super/range {p0 .. p1}, Lcom/example/m6shop/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 43
    const v19, 0x7f030065

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Lcom/example/m6shop/IndexActivity;->setContentView(I)V

    .line 44
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6shop/IndexActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v19

    check-cast v19, Lmyapp/MyApp;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6shop/IndexActivity;->m:Lmyapp/MyApp;

    .line 45
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/IndexActivity;->m:Lmyapp/MyApp;

    move-object/from16 v19, v0

    invoke-virtual/range {v19 .. v19}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v3

    .line 46
    .local v3, "activityList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Landroid/app/Activity;>;"
    move-object/from16 v0, p0

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 47
    sput-object p0, Lcom/example/m6shop/IndexActivity;->index:Lcom/example/m6shop/IndexActivity;

    .line 48
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6shop/IndexActivity;->iniview()V

    .line 49
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/IndexActivity;->mcontext:Landroid/content/Context;

    move-object/from16 v19, v0

    const v20, 0x7f03005d

    const/16 v21, 0x0

    invoke-static/range {v19 .. v21}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v14

    .line 50
    .local v14, "mBarView2":Landroid/view/View;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/IndexActivity;->contentLayout:Landroid/widget/LinearLayout;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    invoke-virtual {v0, v14}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 52
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/IndexActivity;->title_bar_menu_btn:Landroid/widget/ImageView;

    move-object/from16 v19, v0

    const v20, 0x7f020024

    invoke-virtual/range {v19 .. v20}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 53
    const v19, 0x7f0701d5

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Lcom/example/m6shop/IndexActivity;->findViewById(I)Landroid/view/View;

    move-result-object v15

    check-cast v15, Landroid/widget/TextView;

    .line 54
    .local v15, "menu_about":Landroid/widget/TextView;
    const v19, 0x7f020013

    move/from16 v0, v19

    invoke-virtual {v15, v0}, Landroid/widget/TextView;->setBackgroundResource(I)V

    .line 55
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/IndexActivity;->title_bar_name:Landroid/widget/TextView;

    move-object/from16 v19, v0

    const-string v20, "\u5e10\u53f7\u7edf\u8ba1"

    invoke-virtual/range {v19 .. v20}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 56
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6shop/IndexActivity;->bindleftmenu()V

    .line 59
    :try_start_0
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6shop/IndexActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v19

    .line 60
    invoke-virtual/range {v19 .. v19}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v19

    invoke-virtual/range {p0 .. p0}, Lcom/example/m6shop/IndexActivity;->getPackageName()Ljava/lang/String;

    move-result-object v20

    const/16 v21, 0x0

    invoke-virtual/range {v19 .. v21}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object v16

    .line 61
    .local v16, "packageInfo":Landroid/content/pm/PackageInfo;
    move-object/from16 v0, v16

    iget v0, v0, Landroid/content/pm/PackageInfo;->versionCode:I

    move/from16 v19, v0

    sput v19, Lcom/example/m6shop/IndexActivity;->localVersion:I
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    .line 66
    .end local v16    # "packageInfo":Landroid/content/pm/PackageInfo;
    :goto_0
    sget-object v19, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v20, Ljava/lang/StringBuilder;

    const-string v21, "\u7248\u672c\u53f7"

    invoke-direct/range {v20 .. v21}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    sget v21, Lcom/example/m6shop/IndexActivity;->localVersion:I

    invoke-virtual/range {v20 .. v21}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v20

    invoke-virtual/range {v20 .. v20}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v20

    invoke-virtual/range {v19 .. v20}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 67
    new-instance v19, Lmyclass/updateManager;

    sget v20, Lcom/example/m6shop/IndexActivity;->localVersion:I

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    move/from16 v2, v20

    invoke-direct {v0, v1, v2}, Lmyclass/updateManager;-><init>(Landroid/content/Context;I)V

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6shop/IndexActivity;->mUpdateManager:Lmyclass/updateManager;

    .line 68
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/IndexActivity;->mUpdateManager:Lmyclass/updateManager;

    move-object/from16 v19, v0

    invoke-virtual/range {v19 .. v19}, Lmyclass/updateManager;->checkUpdateInfo()V

    .line 71
    const v19, 0x7f07009c

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Lcom/example/m6shop/IndexActivity;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/Button;

    .line 72
    .local v6, "go":Landroid/widget/Button;
    new-instance v19, Lcom/example/m6shop/IndexActivity$1;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6shop/IndexActivity$1;-><init>(Lcom/example/m6shop/IndexActivity;)V

    move-object/from16 v0, v19

    invoke-virtual {v6, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 85
    const v19, 0x7f07025c

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Lcom/example/m6shop/IndexActivity;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/LinearLayout;

    .line 86
    .local v9, "goorder":Landroid/widget/LinearLayout;
    new-instance v19, Lcom/example/m6shop/IndexActivity$2;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6shop/IndexActivity$2;-><init>(Lcom/example/m6shop/IndexActivity;)V

    move-object/from16 v0, v19

    invoke-virtual {v9, v0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 98
    const v19, 0x7f07025d

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Lcom/example/m6shop/IndexActivity;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/LinearLayout;

    .line 99
    .local v8, "gogoods":Landroid/widget/LinearLayout;
    new-instance v19, Lcom/example/m6shop/IndexActivity$3;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6shop/IndexActivity$3;-><init>(Lcom/example/m6shop/IndexActivity;)V

    move-object/from16 v0, v19

    invoke-virtual {v8, v0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 125
    const v19, 0x7f07025e

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Lcom/example/m6shop/IndexActivity;->findViewById(I)Landroid/view/View;

    move-result-object v11

    check-cast v11, Landroid/widget/LinearLayout;

    .line 126
    .local v11, "goshop":Landroid/widget/LinearLayout;
    new-instance v19, Lcom/example/m6shop/IndexActivity$4;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6shop/IndexActivity$4;-><init>(Lcom/example/m6shop/IndexActivity;)V

    move-object/from16 v0, v19

    invoke-virtual {v11, v0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 138
    const v19, 0x7f07025f

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Lcom/example/m6shop/IndexActivity;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/LinearLayout;

    .line 139
    .local v7, "gocx":Landroid/widget/LinearLayout;
    new-instance v19, Lcom/example/m6shop/IndexActivity$5;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6shop/IndexActivity$5;-><init>(Lcom/example/m6shop/IndexActivity;)V

    move-object/from16 v0, v19

    invoke-virtual {v7, v0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 150
    const v19, 0x7f070262

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Lcom/example/m6shop/IndexActivity;->findViewById(I)Landroid/view/View;

    move-result-object v12

    check-cast v12, Landroid/widget/LinearLayout;

    .line 151
    .local v12, "gotj":Landroid/widget/LinearLayout;
    new-instance v19, Lcom/example/m6shop/IndexActivity$6;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6shop/IndexActivity$6;-><init>(Lcom/example/m6shop/IndexActivity;)V

    move-object/from16 v0, v19

    invoke-virtual {v12, v0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 163
    const v19, 0x7f070261

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Lcom/example/m6shop/IndexActivity;->findViewById(I)Landroid/view/View;

    move-result-object v13

    check-cast v13, Landroid/widget/LinearLayout;

    .line 164
    .local v13, "gotx":Landroid/widget/LinearLayout;
    new-instance v19, Lcom/example/m6shop/IndexActivity$7;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6shop/IndexActivity$7;-><init>(Lcom/example/m6shop/IndexActivity;)V

    move-object/from16 v0, v19

    invoke-virtual {v13, v0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 176
    const v19, 0x7f070264

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Lcom/example/m6shop/IndexActivity;->findViewById(I)Landroid/view/View;

    move-result-object v10

    check-cast v10, Landroid/widget/LinearLayout;

    .line 177
    .local v10, "goping":Landroid/widget/LinearLayout;
    new-instance v19, Lcom/example/m6shop/IndexActivity$8;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6shop/IndexActivity$8;-><init>(Lcom/example/m6shop/IndexActivity;)V

    move-object/from16 v0, v19

    invoke-virtual {v10, v0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 192
    const v19, 0x7f070268

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Lcom/example/m6shop/IndexActivity;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/LinearLayout;

    .line 193
    .local v4, "blue":Landroid/widget/LinearLayout;
    new-instance v19, Lcom/example/m6shop/IndexActivity$9;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6shop/IndexActivity$9;-><init>(Lcom/example/m6shop/IndexActivity;)V

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 204
    const v19, 0x7f070269

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Lcom/example/m6shop/IndexActivity;->findViewById(I)Landroid/view/View;

    move-result-object v18

    check-cast v18, Landroid/widget/LinearLayout;

    .line 205
    .local v18, "status":Landroid/widget/LinearLayout;
    new-instance v19, Lcom/example/m6shop/IndexActivity$10;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6shop/IndexActivity$10;-><init>(Lcom/example/m6shop/IndexActivity;)V

    invoke-virtual/range {v18 .. v19}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 217
    const v19, 0x7f07026b

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Lcom/example/m6shop/IndexActivity;->findViewById(I)Landroid/view/View;

    move-result-object v17

    check-cast v17, Landroid/widget/LinearLayout;

    .line 218
    .local v17, "shorder":Landroid/widget/LinearLayout;
    new-instance v19, Lcom/example/m6shop/IndexActivity$11;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6shop/IndexActivity$11;-><init>(Lcom/example/m6shop/IndexActivity;)V

    move-object/from16 v0, v17

    move-object/from16 v1, v19

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 229
    new-instance v19, Lcom/example/m6shop/IndexActivity$12;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6shop/IndexActivity$12;-><init>(Lcom/example/m6shop/IndexActivity;)V

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6shop/IndexActivity;->h:Landroid/os/Handler;

    .line 305
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/IndexActivity;->mcontext:Landroid/content/Context;

    move-object/from16 v19, v0

    const-string v20, "\u8bf7\u7a0d\u540e"

    const-string v21, "\u83b7\u53d6\u7edf\u8ba1\u6570\u636e"

    invoke-static/range {v19 .. v21}, Lmyclass/Util;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 306
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6shop/IndexActivity;->gettjSource()Z

    .line 308
    return-void

    .line 62
    .end local v4    # "blue":Landroid/widget/LinearLayout;
    .end local v6    # "go":Landroid/widget/Button;
    .end local v7    # "gocx":Landroid/widget/LinearLayout;
    .end local v8    # "gogoods":Landroid/widget/LinearLayout;
    .end local v9    # "goorder":Landroid/widget/LinearLayout;
    .end local v10    # "goping":Landroid/widget/LinearLayout;
    .end local v11    # "goshop":Landroid/widget/LinearLayout;
    .end local v12    # "gotj":Landroid/widget/LinearLayout;
    .end local v13    # "gotx":Landroid/widget/LinearLayout;
    .end local v17    # "shorder":Landroid/widget/LinearLayout;
    .end local v18    # "status":Landroid/widget/LinearLayout;
    :catch_0
    move-exception v5

    .line 63
    .local v5, "e":Landroid/content/pm/PackageManager$NameNotFoundException;
    invoke-virtual {v5}, Landroid/content/pm/PackageManager$NameNotFoundException;->printStackTrace()V

    goto/16 :goto_0
.end method
